package com.zbkj.crmeb.chant.response;

import com.zbkj.crmeb.user.response.UserResponse;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.LinkedList;

@Data
@Accessors(chain = true)
@ApiModel("ChannelPartitionInfoResponse对象")
public class ChannelPartitionInfoResponse implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    private Integer id;

    @ApiModelProperty("瓜分券id")
    private Integer partitionId;

    @ApiModelProperty("瓜分总人数")
    private Integer partitionNumber;

    @ApiModelProperty("瓜分用户信息")
    private LinkedList<UserResponse> users;

    @ApiModelProperty("瓜分状态")
    private Boolean status;

    @ApiModelProperty("当前用户是否打开红包")
    private Boolean isPartition = false;

    @ApiModelProperty("瓜分金额")
    private BigDecimal partitionMoney;

    @ApiModelProperty("瓜分人数")
    private Integer personNumber;

    @ApiModelProperty("创建时间")
    private String createTime;
}
